7e47e8dc9dad2f22e6a3141d7f859f8d5ba3fa9b,src/com/smithsmodding/armory/common/tileentity/TileEntityBlackSmithsAnvil.java,TileEntityBlackSmithsAnvil,update,#,225

Before Change


        if (getCurrentRecipe() != null) {
            ((BlackSmithsAnvilState) getState()).setCraftingprogress(((BlackSmithsAnvilState) getState()).getCraftingprogress() + (1f / 20f));

            if ((((BlackSmithsAnvilState) getState()).getCraftingprogress() >= getCurrentRecipe().getMinimumProgress()) && !worldObj.isRemote) {
                if (outputStacks[0] != null) {
                    outputStacks[0].stackSize += getCurrentRecipe().getResult(craftingStacks, additionalCraftingStacks).stackSize;
                } else {
                    outputStacks[0] = getCurrentRecipe().getResult(craftingStacks, additionalCraftingStacks);
                    if (!((BlackSmithsAnvilState) getState()).getItemName().equals("")) {
                        outputStacks[0].getTagCompound().setString(References.NBTTagCompoundData.CustomName, ((BlackSmithsAnvilState) getState()).getItemName());
                    }
                }

                ProcessPerformedCrafting();
                setCurrentRecipe(null);
                ((BlackSmithsAnvilState) getState()).setCraftingprogress(0);

                tUpdated = true;

After Change


        if (getCurrentRecipe() != null) {
            (getState()).setCraftingprogress((getState()).getCraftingprogress() + (1f / 20f));

            if (((getState()).getCraftingprogress() >= getCurrentRecipe().getMinimumProgress()) && !worldObj.isRemote) {
                if (outputStacks[0] != null) {
                    outputStacks[0].stackSize += getCurrentRecipe().getResult(craftingStacks, additionalCraftingStacks).stackSize;
                } else {
                    outputStacks[0] = getCurrentRecipe().getResult(craftingStacks, additionalCraftingStacks);
                    if (!(getState()).getItemName().equals("")) {
                        outputStacks[0].getTagCompound().setString(References.NBTTagCompoundData.CustomName, (getState()).getItemName());
                    }
                }

                ProcessPerformedCrafting();
                setCurrentRecipe(null);
                (getState()).setCraftingprogress(0);

                tUpdated = true;